package co.com.smart.persistence.entity;

import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

import co.com.smart.persistence.entity.dto.SmartEps;
import co.com.smart.persistence.entity.util.AbstractFacade;

/**
 * Session Bean implementation class EpsFacade
 */
@Stateless(
		name		= "EpsFacade", 
		mappedName 	= "ejb/EpsFacade")
public class EpsFacade extends AbstractFacade<SmartEps> implements EpsFacadeLocal {

		@PersistenceContext(unitName = "SnakeServicesPU")
		private EntityManager em;
	    /**
	     * Default constructor. 
	     */
	    public EpsFacade() {
	    	super(SmartEps.class);
	    }
	    
	    @Override
	    protected EntityManager getEntityManager() {
	    	return em;
	    }
}
